using System.Collections.Generic;
using System.Linq;
using System;
using System.Runtime.InteropServices;

namespace MyUtils.PInvoke.Structs
{
	[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
	struct REPARSE_DATA_BUFFER
	{
		public uint ReparseTag;
		public short ReparseDataLength;
		public short Reserved;
		public short SubsNameOffset;
		public short SubsNameLength;
		public short PrintNameOffset;
		public short PrintNameLength;

		[MarshalAs(UnmanagedType.ByValArray, SizeConst = PInvoke.MAXIMUM_REPARSE_DATA_BUFFER_SIZE)]
		public char[] ReparseTarget;
	}
}